package com.zpark.resume.service;

import com.zpark.resume.entity.Honor;
import com.zpark.resume.entity.Project;

import java.util.List;

/**
 * @PackageName: com.zpark.resume.service
 * @ClassName: IProjectService
 * @Description:
 * @author: RZS
 * @date: 2023/6/1  22:02
 */
public interface IProjectService {

    /**
     * 根据cv的id查询数据
     * @param cvId
     * @return
     */
    List<Project> findByCvId(Integer cvId);

    /**
     * 添加project
     * @param project
     * @return
     */
    Integer addProject(Project project);

    /**
     * 修改项目经历
     * @param project
     * @return
     */
    Integer changeProjectById(Project project);

    /**
     * 删除项目经历
     * @param id
     * @return
     */
    Integer removeProjectById(Integer id);
}
